#ifndef DELETE__H
#define DELETE__H

#include <QDialog>
#include <QtSql>
#include <QMessageBox>
namespace Ui {
class delete_;
}

class delete_ : public QDialog
{
    Q_OBJECT

public:
    explicit delete_(QWidget *parent = 0);
    ~delete_();
    void set_type(int a);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::delete_ *ui;
    int type;//0:student;1:teacher;2:course
};

#endif // DELETE__H
